<?php

return [
	'system' => ['errCode' => 1, 'message' => '系统错误'],
	
	'invalidParameter' => ['errCode' => 2, 'message' => '参数错误'],
	
	'database' => ['errCode' => 3, 'message' => '数据异常，请联系管理员'],
	
	'excel' => ['errCode' => 3, 'message' => '数据异常，请联系管理员'],

	'user' => [
		'info' => [
			'add' => ['errCode' => 10001, 'message' => '添加用户信息出错'],
			'notFound' => ['errCode' => 10002, 'message' => '用户信息未找到'],
			'update' => ['errCode' => 10003, 'message' => '更新用户信息出错'],
		],
		'wxInfo' => [
			'add' => ['errCode' => 11001, 'message' => '用户微信信息添加出错'],
		],
		'afterService' => [
			'add' => ['errCode' => 12001, 'message' => '添加售后服务信息出错'],
			'notFound' => ['errCode' => 12002, 'message' => '售后服务信息未找到'],
		],
		'loginThroot' => ['errCode' => 13001, 'message' => '登录失败次数太多，请稍后再尝试登录'],
		'adminInfo' => [
			'add' => ['errCode' => 14001, 'message' => '添加管理员出错'],
			'notFound' => ['errCode' => 14002, 'message' => '管理员信息未找到'],
			'update' => ['errCode' => 14003, 'message' => '更新管理员信息出错'],
			'delete' => ['errCode' => 14006, 'message' => '不能删除当前使用账号'],
			'password' => ['errCode' => 14004, 'message' => '原密码错误'],
			'login' => ['errCode' => 14005, 'message' => '登录失败,用户名或密码输入错误'],
		],
		'role' => [
			'notFound' => ['errCode' => 15001, 'message' => '角色不存在，请联系网站负责人'],
		],
		'auth' => ['errCode' => 16001, 'message' => '管理员权限不足'],
		'notFound' => ['errCode' => 16002, 'message' => '用户未找到'],

	],

	'device' => [
		'bind' => ['errCode' => 20001, 'message' => '绑定出错'],
		'notConnect' => ['errCode' => 20002, 'message' => '设备处于离线状态'],
		'haveBind' => ['errCode' => 20003, 'message' => '已绑定设备'],
		'unbind' => ['errCode' => 20004, 'message' => '解绑异常'],
		'noBind' => ['errCode' => 20005, 'message' => '请先绑定水机'],
		'command' => ['errCode' => 20006, 'message' => '指令有误'],
		'notFound' => ['errCode' => 20007, 'message' => '该设备不存在'],
		'powerOff' => ['errCode' => 20008, 'message' => '设备已关机'],
		'record' => [
			'notFound' => ['errCode' => 21001, 'message' => '该设备记录不存在'],
		],
		'installInfo' => [
			'notFound' => ['errCode' => 22001, 'message' => '该设备安装信息不存在'],
			'exists' => ['errCode' => 22002, 'message' => '该设备安装信息已存在'],
		],
		'maintainInfo' => [
			'notFound' => ['errCode' => 23001, 'message' => '该设备维护信息不存在'],
		],
	],

	'chargeRecord' => [
		'notFound' => ['errCode' => 30001, 'message' => '该订单记录不存在'],
		'add' => ['errCode' => 30002, 'message' => '添加订单记录出错'],
		'discharged' => ['errCode' => 30003, 'message' => '该充值记录已撤销'],
		'date' => ['errCode' => 30004, 'message' => '时间区间输入有误'],
		'reduceFlow' => ['errCode' => 30005, 'message' => '撤销的流量数有误'],
	],

	'wechat' => [
		'invalid' => ['errCode' => 40001, 'message' => '微信错误信息'],
		],
];